package com.kuang.service;

import com.kuang.dao.UserMapper;

public class UserServiceImpl implements UserService {
    private UserMapper userMapper;

    public void setUserMapper(UserMapper userMapper) {
        this.userMapper = userMapper;
    }

    public String selectUsername(String username) {
        return userMapper.selectUsername(username);
    }

    public String selectPasswordByUsername(String username) {
        return userMapper.selectPasswordByUsername(username);
    }

    public int selectUsageIdByUsername(String username) {
        return userMapper.selectUsageIdByUsername(username);
    }
}
